.section0 {
    position: relative;
    margin-top: 60px;
}

.section0, .section1, .section2, .section3 {
    margin-bottom: 2vw;
}
.banner {
    position: relative;
    width: 50vw;
}


.button_banner {
    position: relative;
    display: block;
    background: #2E5C6E;
    top: 4vw;
    width: 18vw;
    height: 3.5vw;
    border-radius: 0;
    border: none;
    font-family: 'Open Sans';
    justify-content: center;
    align-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1vw;
    text-align: center;
    cursor: pointer;
    animation: button_banner_animation 6s;
    transition: all 0.5s;
    margin: auto;
}

.button_banner:hover {
    color: #2E5C6E;
    background: transparent;
    border: 1px solid #2E5C6E;

}


.ctn_escrita_banner {
    display: block;
    position: relative;
    flex: 1;
    height: auto;
    background: #ede6db;

}



#banner_mobile {
    display: none;
}

.titulo_banner {
    position: relative;
    left: 0.7vw;
    top: 5vw;
    width: 48vw;
    font-family: 'Open Sans';
    color: #A9B9A1;
    text-align: center;
    font-size: 3.45vw;
    font-weight: 800;
    line-height: 2.5vw;
    animation: titulo_banner_animation 6s;


}

.titulo_banner_span1 {
    position: relative;
    top: 5vw;
    font-size: 2.1vw;
    font-weight: 400;
    line-height: 3.5vw;
    text-align: center;
    color: #A9B9A1;
    margin-bottom: 5vw;

}

.ctn_certificacoes {
    display: flex;
    position: relative;
    width: 60vw;
    left: 20vw;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    z-index: 2;
    background: #fff;
    box-shadow: 0 0 5px #00000061;
    z-index: 0;
    margin-top: -3vw;
    margin-bottom: 3vw;
}

.texto_certificacoes {
    position: relative;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 0.9rem;
    text-align: justify;
    padding-bottom: 30px;
    padding: 15px;
    width: 100%;
}

.titulo_certificacoes {
    position: relative;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #A9B9A1;
    margin-top: 5px;
    padding: 10px;
    max-height: 40px;
}

.faixa_certificacoes {
    position: relative;
    background: #A9B9A1;
    width: 2px;
    height: auto;
}

.icone_certificacoes {
    width: 60px;
    margin-top: 2vw;
}

.box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    width: calc(20vw - 2px);
    min-height: 250px;
}

.box:hover {
    box-shadow: 0 0 10px #0000003e;
}

.section0, .section1, .section2, .section3, .section4 {
    overflow: hidden;
}


.titulo_principal {
    position: relative;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 1.5rem;
    margin-left: 5vw;
    margin-bottom: 2vw;
}

.titulo_principal2 {
    position: relative;
    font-family: 'Open Sans';
    font-weight: 800;
    font-size: 1.5rem;
    margin-left: 5vw;
    margin-bottom: 2vw;
    width: 90vw;
    text-align: center;
    color: #A9B9A1;
}

.ctn_button_especialidades {
    position: relative;
    left: 5vw;
    width: 90vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas iguais */
    grid-template-rows: repeat(2, auto);
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 1vw;

}

.button_especialidade {
    flex: 4;
    position: relative;
    background: #2E5C6E;
    width: 100%;
    height: 40px;
    border-radius: 5px;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 0.8rem;
    color: #fff;
    border: none;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-out;
    white-space: nowrap;
}




.button_especialidade.especialidade_transiction {
  background: linear-gradient(90deg, #4CA1AF, #2E5C6E);
  color: white;
  border: none;
  transform: scale(1.03);
  transition: all 0.3s ease;
}

.button_especialidade:hover {
  background: linear-gradient(90deg, #4CA1AF, #2E5C6E);
  color: white;
  border: none;
  transform: scale(1.01);
  transition: all 0.3s ease;
}
.button_especialidade::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #4CA1AF, #C4E0E5);
    z-index: 1;
}

.button_especialidade.especialidade_transiction::after {
    animation: tempoBarra 30s ease-out;
}



@keyframes tempoBarra {
    0% { width: 0%; }
    100% { width: 100%; }
}




.img_especialidade {
    position: relative;
    left: 5vw;
    width: 35vw;
    aspect-ratio: 5/4;
    object-fit: cover;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    margin-right: 5vw;
}

.titulo_especialidade {
    position: relative;
    width: 55vw;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 1.2rem;
    margin-left: 2vw;
    margin-right: 2vw;
    margin-bottom: 10px;
    text-align: justify;
}

.descricao {
    position: relative;
    width: 90vw;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 1rem;
    margin-left: 5vw;
    margin-right: 5vw;
    text-align: justify;
}

.descricao_especialidade {
    position: relative;
    width: 55vw;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 0.9rem;
    margin-left: 2vw;
    margin-right: 2vw;
    text-align: justify;
}

.video_yt {
    position: relative;
    height: auto;
    width: 20vw;
    margin-right: 5vw;
    margin-top: 0;
}



.instagram {
    position: relative;
    margin-left: 5vw;
    width: 90vw;
    border-radius: 10px;
    margin-bottom: 2vw;
}

.instagram_header {
    position: relative;
    display: flex;
    width: 60vw;
    flex-direction: row;
    margin: auto;
    justify-content: space-between;
    margin-bottom: 2vw;
}

.instagram_titulo {
    position: relative;
    display: flex;
    flex-direction: row;
    width: auto;
}

.instagram_picture {
    width: 80px;
    height: 80px;
    margin-right: 2vw;
}

.instagram_nome {
    position: relative;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 0.9rem;
    color: #000;
    margin-top: 1vw;
    margin-bottom: 2vw;
    width: auto;
}

.instagram_username {
    font-size: 0.8rem;
    color: #565555;
    font-weight: 400;
    width: 0;

}

.instagram_foto {
    position: relative;
    width: calc(22.5vw - 1px);
    height: calc(22.5vw - 2.5px);
}

.instagram_foto_hover_info {
    position: relative;
    display: flex;
    flex-direction: column;
    width: calc(22.5vw - 2.5px);
    height: calc(22.5vw - 2.5px);
    margin-top: calc(-22.5vw - 2.5px);
    background: #000000b4;
}

.button_instagram {
    position: relative;
    display: flex;
    width: 8vw;
    height: 2vw;
    border-radius: 5px;
    background: #2E5C6Eb4;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 0.9rem;
    color: #fff;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 2vw;
}

.logo_instagram {
    position: relative;
    width: 1vw;
    height: 1vw;
    margin-right: 0.5vw;
}

.instagram_grid {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 1px;
}

.instagram_foto_hover {
    display: none;
}

.ctn_instagram_info {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 1vw;
}

.instagram_info {
    position: relative;
    font-family: 'Open Sans';
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    text-align: center;
    width: 10vw;
}

.instagram_info2 {
    color: #565555;
    font-size: 0.8rem;
    font-weight: 400;
}

.instagram_foto:hover ~ .instagram_foto_hover {
    display: block;
}

.instagram_foto_hover:hover {
    display: block;
}

.instagram_descricao {
    position: relative;
    width: 22.5vw;
    height: 9vw;
    font-family: 'Open Sans';
    font-size: 0.9vw;
    font-weight: 400;
    color: #fff;
    text-align: justify;
    padding: 2vw;
    overflow: hidden;
    
}

.instagram_info_hover {
    position: relative;
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 1vw;
    color: #fff;
    margin: 0vw;
}

.instagram_icon_img {
    margin-right: 1vw;
    width: 2vw;
}

.instagram_info_unique_ctn {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: left;
    justify-content: space-between;
    border: 0px solid red;
}

.instagram_hover_info_ctn {
    position: relative;
    left: 0vw;
    min-width: 13.5vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 2vw;
    margin-top: 4vw;
    margin-bottom: 0;
    border: 0px solid red;
}

.horizontal {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}



.vertical {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



@media (max-width: 769px) {
    * {
        max-width: 100vw;
    }

    .section0, .section1, .section2 {
        margin-bottom: 50px;
    }

    .section3 {
        margin-bottom: 20px;
    }

    .banner {
        max-width: none;
        left: 0vw;
        width: 100vw;
        overflow: hidden;
        flex: 1;
    }

    #banner_desktop {
        display: none;
    }

    #banner_mobile {
        display: block;
    }
    

    .button_banner {
        width: 90vw;
        height: 10vw;
        left: 0vw;
        top: 16vw;
        font-size: 4vw;
        animation: none;
    }

    .titulo_banner {
        width: 90vw;
        left: 5vw;
        font-size: 9vw;
        font-weight: 800;
        top: 10vw;
        margin-top: 0;
        line-height: 20px;
        animation: none;
    }

    .titulo_banner_span1 {
        font-size: 5vw;
        line-height: 30px;
        top: 12vw;
    }

    .flex_section1 {
        flex-direction: column-reverse;
    }
    .flex_section2 {
        flex-direction: column;
    }
    .section0 {
        overflow: hidden;
        height: auto;
    }
    .video_yt {
        margin: 2vw;
        display: none;
        margin-left: 5vw;
        width: 90vw;
        height: auto;
    }

    .section0 {
        margin-top: 65px;
    }

    .ctn_escrita_banner {
        background: transparent;
        top: 0px;
        height: 250px;
        margin-bottom: -250px;
        z-index: 3;
        flex: none;
    }

    .descricao {
        width: 90vw;
    }

    .divisao {
        margin-top: 5vw;
        margin-bottom: 5vw;
        width: 90vw;
        left: 5vw;
    }

    .ctn_certificacoes {
        justify-content: space-between;
        flex-direction: column;
        width: 90vw;
        left: 5vw;
    }

    .faixa_certificacoes {
        width: 90vw;
        height: 2px;
    }


    .icone_certificacoes {
        width: 15vw;
        height: auto;
        margin-top: 20px;
    }

    .box {
        width: 90vw;
        left: 0vw;
    }

    .instagram {
        width: 90vw;
    }

    .descricao_especialidade {
        width: 90vw;
        left: 2.5vw;
    }

    .titulo_especialidade {
        left: 2.5vw;
        width: 90vw;
        text-align: center;
    }

    .ctn_button_especialidades {
        grid-template-columns: repeat(1, 1fr);
        margin-bottom: 10px;
    }

    .button_especialidade {
        flex: 1;
        height: 30px;
        line-height: 0;
    }

    .button_especialidade.button_especialidade.especialidade_transiction {
        transform: scale(1.02);
    }
    
    .img_especialidade {
        width: 90vw;
        border-top-right-radius: 0;
        border-bottom-left-radius: 5px;
        margin-bottom: 15px;
    }

    .instagram_header {
        flex-direction: column;
        width: 96vw;
        left: 2vw;
    }

    .button_instagram {
        width: 150px;
        height: 30px;
        margin-top: 20px;
    }


    .instagram_foto {
        width: calc(45vw - 2.5px);
        height: calc(45vw - 2.5px);
    }
    
    .instagram_foto_hover_info {

        width: calc(45vw - 2.5px);
        height: calc(45vw - 2.5px);
        margin-top: calc(-45vw - 2.5px);
    }

    .instagram_descricao {
        position: relative;
        left: 2vw;
        width: 40vw;
        height: 30vw;
        font-size: 3vw;

        
    }

    .instagram_info_hover {
        font-size: 4vw;
        margin: 0vw;
    }

    .instagram_icon_img {
        width: 6vw;
    }
    

    .instagram_hover_info_ctn {
        position: relative;
        left: 2vw;
        width: 37vw;
        margin-bottom: 4vw;
    }

    .logo_instagram {
        width: 4vw;
        height: 4vw;
        margin-right: 2vw;
    }
}
